package org.devf.fork.imsimulator.socket;

import java.io.IOException;

/**
 * TcpCreate related
 *
 * @author wanghuafu
 * @since 1.0  2023/9/12 14:33
 */
public interface TcpClient {
    boolean create();

    void destroy();

    /**
     * 获取通道
     * @return 通道（写）
     */
    Channel getChannel() throws IOException;

}
